#coding=utf-8
from django.conf.urls import url
from cart import views


urlpatterns = [

    # 添加购物车:http://127.0.0.2:8000/cart/add
    url(r'^add$', views.AddCartView.as_view(), name='add'),

    # 购物车页面
    url(r'^$', views.CartInfoView.as_view(), name='info'),

    # 跟新购物车
    url(r'^update$', views.UpdateCartView.as_view(), name='update'),

    # 删除购物车
    url(r'^delete$', views.DeleteCartView.as_view(), name='delete')

]
